Typo fix.
authorrobertl <robertl>
Fri, 2 Apr 2010 18:24:47 +0000 (18:24 +0000)
committerrobertl <robertl>
Fri, 2 Apr 2010 18:24:47 +0000 (18:24 +0000)
gpx.c

diff --git a/gpx.c b/gpx.c
index 567d6d06b8e387418c9667a7bf70cc744e7e6c80..1be06754a11aeb63993b0a7bd0daf870e7ba0cee 100644 (file)
--- a/gpx.c
+++ b/gpx.c
@@ -1635,7 +1635,7 @@ gpx_write_common_extensions(const waypoint *waypointp, const char *indent)
                                gbfprintf(ofd, "%s    <gpxtpx:hr>%u</gpxtpx:hr>\n",
                                          indent, waypointp->heartrate);
                        if (waypointp->cadence != 0)
-                               gbfprintf(ofd, "%s    <gpxtpx:cad%u</gpxtpx:cad>\n",
+                               gbfprintf(ofd, "%s    <gpxtpx:cad>%u</gpxtpx:cad>\n",
                                          indent, waypointp->cadence);
                        gbfprintf(ofd, "%s  </gpxtpx:TrackPointExtension>\n", indent);
                }